package com.bankapp.network.bank;

import com.bankapp.exception.bank.TransportException;

public class EchoStub {
    private Transport transport;

    public EchoStub(Transport transport) {
        this.transport = transport;
    }

    public void echo() throws TransportException {
        String result = transport.request("1c");

        System.out.println(result);
    }

}
